function uploadQnFile(file, tokenUrl) {
    let formData = new FormData();
    formData.append('smfile', file.file);
    console.log(this)
    const loading = vue.$loading({
        lock: true,
        text: 'Loading',
        // spinner: 'el-icon-loading',
        // background: 'rgba(0, 0, 0, 0.7)'
    });
    axios({
            method: 'get',
            url: url,
            headers: {
                'Content-Type': 'multipart/form-data'
            }
        })
        .then(function(res) {
            console.log(res)
        })
    axios({
            method: 'post',
            url: 'https://sm.ms/api/upload',
            data: formData,
            headers: {
                'Content-Type': 'multipart/form-data'
            }
        })
        .then(function(res) {
            // console.log(file)
            loading.close();
            file.onSuccess(res.data, file.file)
            return
        })
}